package com.example.sys.wx.service;

import com.example.core.mapping.Mapping;
import com.example.core.service.BaseServiceImpl;
import com.example.sys.wx.dao.SysWxEventMessageDao;
import com.example.sys.wx.mapping.SysWxEventMessageMapping;
import com.example.sys.wx.po.SysWxEventMessage;
import com.example.sys.wx.vo.SysWxEventMessageVo;
import org.springframework.stereotype.Service;

@Service
public class SysWxEventMessageServiceImpl extends BaseServiceImpl<SysWxEventMessageDao, SysWxEventMessage, SysWxEventMessageVo> implements SysWxEventMessageService {

    @Override
    public SysWxEventMessage getSysWxEventMessageByTicket(String ticket) throws Exception {
        return getBaseMapper().getSysWxEventMessageByTicket(ticket);
    }

    @Override
    public Class<? extends Mapping> getMappingClass() {
        return SysWxEventMessageMapping.class;
    }
}
